package com.gurumades.jsonform.server.forms.dispatch;

import java.util.Map;

import org.codehaus.jackson.JsonNode;
import org.codehaus.jackson.node.ObjectNode;

import com.gurumades.jsonform.shared.dispatch.validators.ValidatorHelper;

public class RoleOnlyFilterPreprocessor extends AbstractFormPreprocessor implements FormValidator {

	@Override
	public JsonNode preProcessForm(JsonNode form, FormPreprocessHelp helper) {
		return form;
	}

	@Override
	public void validate(ObjectNode form, Map<String, Object> values,
			ValidatorHelper validatorHelper) {
		
	}

	@Override
	public String[] formIDs() {
		return new String[]{"*"};
	}
}
